# Description : Birçok KDE oyununda ortak kod ve veriler
# URL : https://projects.kde.org/projects/kde/kdegames/libkdegames
# Packager : alihan-ozturk28@hotmail.com
# Depends on : kf5-extra-cmake-modules kf5-kdoctools kf5-kdelibs4support kf5-kdeclarative kf5-kdnssd kf5-knewstuff openal

name=libkdegames
version=16.08.2
release=1

source=(http://download.kde.org/stable/applications/${version}/src/${name}-${version}.tar.xz)

build() {
cd ${name}-${version}
cmake -DCMAKE_BUILD_TYPE=Release \
      -DBUILD_TESTING=OFF \
      -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_INSTALL_LIBDIR=lib
      
make
make DESTDIR=$PKG install
}
